POV-Ray : Newsgroups : povray.binaries.images : Cell Shader: my try : Re: Cell Shader: my try Server Time
16 Aug 2024 04:20:47 EDT (-0400)
  Re: Cell Shader: my try  
From: Wolfgang Manousek
Date: 25 Apr 2002 03:02:48
Message: <3cc7aa18@news.povray.org>
well - nice ..

can someone point me to a description of the term cell-shader?

thx
Wolfgang
"Zeger Knaepen" <zeg### [at] studentkuleuvenacbe> wrote in message
news:3cc7709d@news.povray.org...
> Sometimes I wonder why I'm always copying other people's work...
> Maybe because I don't need inspiration for that, and inspiration is
exactly what
> I don't have these days...
>
> Anyway, this is my version of the cell-shader.  It works with
> perspective-cameras.
>
> Comments welcome, as always :)
>
> cu!
> --
> camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local
C=0
> ;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local
C=C+1
> ;#end#end
L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
> <.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK
http://www.povplace.be.tf
>
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.